Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p.test1 { width:11em; border:1px solid #000000; text-wrap:none; } p.test2 { width:11em; border:1px solid #000000; text-wrap:normal; } </style> </head> <body> <p class="test1"> This paragraph contains some text. This line should not breake or wrap to the next line.</p> <p class="test2"> This paragraph contains some text: The line breaks as normal.</p> <p><b>Note:</b> None of the major browsers support the text-wrap property.</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_text-wrap by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:14:11 GMT --> </html>
Result:
Try it Yourself - © w3schools.com